var __extends = this.__extends || function (d, b) {
    function __() { this.constructor = d; }
    __.prototype = b.prototype;
    d.prototype = new __();
}
var Exception = (function () {
    function Exception(message, innerException) {
        this._message = message;
        this._innerException = innerException;
    }
    Object.defineProperty(Exception.prototype, "Message", {
        get: function () {
            return this._message;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(Exception.prototype, "InnerException", {
        get: function () {
            return this._innerException;
        },
        enumerable: true,
        configurable: true
    });
    return Exception;
})();
var TroopConstraintViolationException = (function (_super) {
    __extends(TroopConstraintViolationException, _super);
    function TroopConstraintViolationException(message, innerException) {
        _super.call(this, message, innerException);
    }
    return TroopConstraintViolationException;
})(Exception);
